<#include "/includes/header.ftl">


<div id='productlist_brands'>
	<#include "/includes/leftbar.ftl">
</div>

<div id='productlist_contents'>
  <form name="edit_store_profile" action='<@spring.url "/registerproductprofile.php"/>' method="post" onsubmit="return check_form(create_account);">
		<div><b>Register Product Profile</b></div>
		<div class="label">product Id:</div>
		<div>
	          <@spring.bind "command.product.id" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">product Name:</div>
		<div>
	          <@spring.bind "command.product.name" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">product Full Name:</div>
		<div>
	          <@spring.bind "command.product.fullName" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">product Small Image:</div>
		<div>
	          <@spring.bind "command.product.smallImage" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("http://localhost:8080/jubao/IMAGES/PRODUCT/PRODUCT_SMALL_DEFAULT.JPG")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">product Medium Image:</div>
		<div>
	          <@spring.bind "command.product.mediumImage" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("http://localhost:8080/jubao/IMAGES/PRODUCT/PRODUCT_MEDIUM_DEFAULT.JPG")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">product Largr Image:</div>
		<div>
	          <@spring.bind "command.product.largeImage" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("http://localhost:8080/jubao/IMAGES/PRODUCT/PRODUCT_LARGE_DEFAULT.JPG")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label">Short Desc:</div>
		<div>
	          <@spring.bind "command.product.shortDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="3">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label">Long Desc:</div>
		<div>
	          <@spring.bind "command.product.longDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="5">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label"></div>
		<div>
	    <input type="submit" name="Submit" value="保存" />
		</div>
	</form>
</div>

<#include "/includes/footer.ftl">